Keep it Simple
As a rule of thumb, do not include more than 20 steps per workflow, with a maximum of four transitions exiting each step.
Each step should be simple and dedicated to a specific purpose.
Do not execute too much in one step. Aim to accomplish one “thing” in a step.
You should never include execution B (which has a dependency on the completion of execution A) in the same step as execution A.
Break up your workflow (based on functionality) into a main workflow which invokes sub-workflows. These sub-workflows may then be reused as required.
Have a main workflow that invokes other workflows as required.
The preferred method to invoke other workflows is to use nested workflows. The calling workflow stops until the nested workflow ends.
Alternatively, invoke start on a second workflow in the transition exiting from the step which called the second workflow. You will also need to verify that the second workflow ends (seeEnd Workflow ).